.adm-search-bar .adm-search-bar-input-box {
  background-color: transparent;
}
.adm-search-bar-active .adm-search-bar-input-box {
  border: transparent;
}
.adm-button {
  background-color: transparent;
}
.adm-list-body {
  background: transparent;
}
/* 基础样式：中医宣纸质感背景 */
.herbal-search-page {
  background-color: #F9F5F0;
  height: 100vh;
  overflow: hidden;
}

/* 顶部导航栏样式 */
.search-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E8E0D0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  box-shadow: 0 2px 4px rgba(139, 90, 43, 0.05);
}

.s-back-btn, .user-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.s-back-btn:hover, .user-btn:hover {
  background-color: #F5F0EB;
}

.search-title {
  font-size: 18px;
  font-weight: 600;
  color: #8B5A2B;
  margin: 0;
}

/* 搜索框容器样式 */
.search-container {
  padding: 12px 16px;
  position: relative;
}

.herbal-search-bar {
  background-color: #FFFFFF;
  border: 1px solid #E8E0D0;
  border-radius: 12px;
  height: 48px;
  --placeholder-color: #A69A7C;
  --text-color: #5D533C;
  --font-size: 15px;
  box-shadow: 0 2px 8px rgba(139, 90, 43, 0.08);
}

.search-bar-icon {
  color: #8B5A2B;
  font-size: 18px;
}

/* 搜索建议容器样式 */
.search-suggest-container {
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  z-index: 40;
  background-color: #FFFFFF;
  border-radius: 0 0 12px 12px;
  border: 1px solid #E8E0D0;
  border-top: none;
  box-shadow: 0 4px 8px rgba(139, 90, 43, 0.08);
  overflow: hidden;
}

.suggest-list {
  --border-top: none;
  --border-bottom: none;
  max-height: 280px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.suggest-item {
  --padding: 12px 16px;
  --border-bottom: 1px solid #F5F0EB;
  color: #5D533C;
  font-size: 15px;
}

.suggest-item:last-child {
  --border-bottom: none;
}

.suggest-item:hover {
  background-color: #F5F0EB;
}

.suggest-icon {
  color: #6B8E23;
  margin-right: 12px;
  font-size: 16px;
}

/* 搜索内容区域样式 */
.search-content {
  padding: 0 16px;
  overflow-y: auto;
  height: calc(100vh - 150px);
}

/* 搜索结果区域样式 */
.search-results {
  margin-top: 8px;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.loading-text {
  margin-top: 12px;
  font-size: 14px;
  color: #8B5A2B;
}

.results-header {
  font-size: 15px;
  color: #5D533C;
  margin: 16px 0;
  padding-left: 4px;
  font-weight: 500;
}

.results-list {
  --border-top: none;
  --border-bottom: none;
}

.result-item {
  --padding: 16px;
  --border-bottom: 8px solid #F9F5F0;
  background-color: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(139, 90, 43, 0.06);
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
}

.result-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 90, 43, 0.1);
}

.result-image {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
}

.item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.result-item:hover .item-image {
  transform: scale(1.05);
}

.result-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.result-name-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.result-name {
  font-size: 16px;
  font-weight: 600;
  color: #5D533C;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 60px);
}

.result-tag {
  font-size: 12px;
  padding: 3px 8px;
  height: auto;
  border-radius: 6px;
  font-weight: 500;
}

.tag-热门 {
  background-color: #FFF1F0;
  color: #D32F2F;
  border-color: #FFCCC7;
}

.tag-推荐 {
  background-color: #E8F5E9;
  color: #388E3C;
  border-color: #C6E5B3;
}

.tag-经典 {
  background-color: #FFF8E6;
  color: #FA8C16;
  border-color: #FFE8CC;
}

.tag-养生 {
  background-color: #E3F2FD;
  color: #1976D2;
  border-color: #BBDEFB;
}

.tag-放松 {
  background-color: #F3E5F5;
  color: #7B1FA2;
  border-color: #E1BEE7;
}

.result-desc {
  font-size: 13px;
  color: #8D846B;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  flex-grow: 1;
}

.result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.price-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.current-price {
  font-size: 17px;
  font-weight: 600;
  color: #B71C1C;
}

.original-price {
  font-size: 12px;
  color: #A69A7C;
  text-decoration: line-through;
}

.duration-info, .rating-info {
  display: flex;
  align-items: center;
  color: #8D846B;
  font-size: 13px;
}

.meta-icon {
  font-size: 14px;
  margin-right: 4px;
}

.star-icon {
  font-size: 14px;
  margin-right: 4px;
  color: #D4AF37;
}

.result-arrow, .recommend-arrow {
  color: #A69A7C;
  font-size: 18px;
}
/* 无结果状态样式 */
.no-results {
  padding: 40px 20px;
  text-align: center;
}

.no-results-text {
  color: #8D846B;
  font-size: 16px;
  margin-top: 12px;
}

.reset-btn {
  color: #8B5A2B;
  font-size: 15px;
  margin-top: 20px;
  border: 1px solid #8B5A2B;
  padding: 8px 24px;
  border-radius: 20px;
}

.reset-btn:hover {
  background-color: #F5F0EB;
}

/* 加载更多按钮样式 */
.load-more-btn {
  display: block;
  width: 100%;
  margin: 20px 0;
  color: #8B5A2B;
  font-size: 15px;
  border: 1px solid #8B5A2B;
  padding: 10px;
  border-radius: 10px;
}

.load-more-btn:hover {
  background-color: #F5F0EB;
}

/* 搜索建议区域样式 */
.search-suggestions {
  margin-top: 8px;
}

.search-section {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(139, 90, 43, 0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: 16px;
  color: #8B5A2B;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.section-icon {
  font-size: 18px;
  margin-right: 8px;
}

/* 历史搜索样式 */
.clear-history-btn {
  color: #A69A7C;
  font-size: 14px;
  padding: 4px 8px 15px 8px; 
  display: flex;
  align-items: center;
}

.clear-history-btn:hover {
  color: #8B5A2B;
  background-color: #F5F0EB;
  border-radius: 4px;
}

.delete-icon {
  font-size: 14px;
  margin-right: 4px;
}

.history-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-tag {
  background-color: #F5F2EA;
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.history-tag:hover {
  background-color: #E9E3D5;
}

.history-tag-text {
  color: #5D533C;
  font-size: 14px;
}

.tag-delete-btn {
  width: 20px;
  height: 20px;
    padding: 0;
  color: #A69A7C;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tag-delete-btn:hover {
  color: #8B5A2B;
  background-color: #F5F0EB;
  border-radius: 50%;
}

/* 热门搜索样式 */
.hot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hot-tag {
  background-color: #FFF8F1;
  color: #8B5A2B;
  border: 1px solid #FFE8CC;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hot-tag:hover {
  background-color: #FFF1D6;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(139, 90, 43, 0.1);
}

/* 推荐项目样式 */
.recommend-list {
  --border-top: none;
  --border-bottom: none;
}

.recommend-item {
  --padding: 14px 0;
  --border-bottom: 1px solid #F5F0EB;
  color: #5D533C;
  font-size: 15px;
}

.recommend-item:last-child {
  --border-bottom: none;
}

.recommend-item:hover {
  background-color: #F5F0EB;
}

.recommend-item-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.recommend-icon {
  color: #6B8E23;
  margin-right: 12px;
  font-size: 16px;
}

.recommend-text {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-tag {
  font-size: 12px;
  padding: 2px 8px;
  margin-left: 8px;
}

.recommend-arrow {
  color: #A69A7C;
  font-size: 16px;
}

/* 底部导航样式 */
.search-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-top: 1px solid #E8E0D0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 40;
  box-shadow: 0 -2px 4px rgba(139, 90, 43, 0.05);
}

.footer-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  color: #8D846B;
}

.footer-btn.active {
  color: #8B5A2B;
}

.footer-icon {
  margin-bottom: 4px;
}

.footer-text {
  font-size: 12px;
  font-weight: 500;
}

.footer-btn:hover {
  background-color: #F5F0EB;
  border-radius: 8px;
}

/* 响应式适配：针对小屏手机优化 */
@media (max-width: 360px) {
  .result-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .price-info {
    width: 100%;
  }
  
  .result-image {
    width: 80px;
    height: 80px;
  }
  
  .footer-text {
    font-size: 11px;
  }
  
  .search-title {
    font-size: 17px;
  }
}

